/*
 * VsObjectDetector.h
 *
 *  Created on: Mar 28, 2013
 *      Author: andre
 */

#ifndef VSOBJECTDETECTOR_H_
#define VSOBJECTDETECTOR_H_

#include <vector>
#include <cv.h>

using namespace std;

typedef struct VsObject
{
	int x,y,width,height;
	int center;

}VsObject;

class VsObjectDetector
{

protected:
	vector <VsObject> objects;

public:
	VsObjectDetector();
	virtual ~VsObjectDetector();
	virtual int process(IplImage *input) = 0;
	IplImage *foregroundImg;
};

#endif /* VSOBJECTDETECTOR_H_ */
